#include "pwdfocus.h"

PwdFocus::PwdFocus(QWidget* parent):QLineEdit(parent)
{

}
PwdFocus::~PwdFocus(){

}

void PwdFocus::focusInEvent(QFocusEvent *event){
    emit focusChanged(true);
    QLineEdit::focusInEvent(event);
}
void PwdFocus::focusOutEvent(QFocusEvent *event){
    emit focusChanged(false);
    QLineEdit::focusOutEvent(event);
}
